package com.tianshu.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tianshu.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 人员调动记录
 * </p>
 *
 * @author liaojie
 * @since 2021-11-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_biz_manager_branch")
public class TBizManagerBranch extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private LocalDateTime createTime;

    /**
     * 网点号
     */
    private String branchCode;

    /**
     * 工号
     */
    private String mgrJobId;

    /**
     * 开始日期
     */
    private LocalDate startdate;

    /**
     * 结束日期
     */
    private LocalDate enddate;

    /**
     * 0是网店,1是团队
     */
    private Integer isTeam;


    public static final String ID = "id";

    public static final String CREATE_TIME = "create_time";

    public static final String BRANCH_CODE = "branch_code";

    public static final String MGR_JOB_ID = "mgr_job_id";

    public static final String STARTDATE = "startdate";

    public static final String ENDDATE = "enddate";

    public static final String IS_TEAM = "is_team";

}
